/*! ******************************************************************************
 *
 * Created on 2022/5/20
 *
 * Copyright(c) YuZhou Big Data Laboratory CO.,Ltd, 2022.  All rights reserved.
 *
 *******************************************************************************
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 ******************************************************************************/
package org.pentaho.di.ui.dbdto;

import java.util.List;

/**
 * @author yzbdl@yzbdl.ac.cn
 * @version: 1.0
 * @Date 2020/5/20 17:13
 **/
public class DbdriverDto {
    /**
     * code : 001000
     * msg : success
     * timestamp : 1589965972069
     * data : [{"id":"9","dbName":1,"dbVersion":"test","driverName":null,"driverType":0,"driverVersion":"1.1.1.1","driverDescription":"test","driverPlatform":"test","driverPath":null,"size":"1187486","driverPackage":"test","downloadPath":"group1/M00/00/07/CgoMaF7E5mKAfKVVABIens3V8j8153.zip","downloadAmount":null,"uploadOperId":null,"uploadOperName":"test","uploadTime":1589962342372,"publishTime":1589962305000,"status":0,"uploadTimes":null,"publishTimes":null,"exampleView":null}]
     */

    public String code;
    public String msg;
    public long timestamp;
    public List<DataBean> data;

    public static class DataBean {
        /**
         * id : 9
         * dbName : 1
         * dbVersion : test
         * driverName : null
         * driverType : 0
         * driverVersion : 1.1.1.1
         * driverDescription : test
         * driverPlatform : test
         * driverPath : null
         * size : 1187486
         * driverPackage : test
         * downloadPath : group1/M00/00/07/CgoMaF7E5mKAfKVVABIens3V8j8153.zip
         * downloadAmount : null
         * uploadOperId : null
         * uploadOperName : test
         * uploadTime : 1589962342372
         * publishTime : 1589962305000
         * status : 0
         * uploadTimes : null
         * publishTimes : null
         * exampleView : null
         */

        public String id;
        public int dbName;
        public String dbVersion;
        public Object driverName;
        public int driverType;
        public String driverVersion;
        public String driverDescription;
        public String driverPlatform;
        public Object driverPath;
        public String size;
        public String driverPackage;
        public String downloadPath;
        public Object downloadAmount;
        public Object uploadOperId;
        public String uploadOperName;
        public long uploadTime;
        public long publishTime;
        public int status;
        public Object uploadTimes;
        public Object publishTimes;
        public Object exampleView;

        /**
         * 获取id
         *
         * @return id
         */
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        /**
         * 获取dbName
         *
         * @return dbName
         */
        public int getDbName() {
            return dbName;
        }

        public void setDbName(int dbName) {
            this.dbName = dbName;
        }

        /**
         * 获取dbVersion
         *
         * @return dbVersion
         */
        public String getDbVersion() {
            return dbVersion;
        }

        public void setDbVersion(String dbVersion) {
            this.dbVersion = dbVersion;
        }

        /**
         * 获取driverName
         *
         * @return driverName
         */
        public Object getDriverName() {
            return driverName;
        }

        public void setDriverName(Object driverName) {
            this.driverName = driverName;
        }

        /**
         * 获取driverType
         *
         * @return driverType
         */
        public int getDriverType() {
            return driverType;
        }

        public void setDriverType(int driverType) {
            this.driverType = driverType;
        }

        /**
         * 获取driverVersion
         *
         * @return driverVersion
         */
        public String getDriverVersion() {
            return driverVersion;
        }

        public void setDriverVersion(String driverVersion) {
            this.driverVersion = driverVersion;
        }

        /**
         * 获取driverDescription
         *
         * @return driverDescription
         */
        public String getDriverDescription() {
            return driverDescription;
        }

        public void setDriverDescription(String driverDescription) {
            this.driverDescription = driverDescription;
        }

        /**
         * 获取driverPlatform
         *
         * @return driverPlatform
         */
        public String getDriverPlatform() {
            return driverPlatform;
        }

        public void setDriverPlatform(String driverPlatform) {
            this.driverPlatform = driverPlatform;
        }

        /**
         * 获取driverPath
         *
         * @return driverPath
         */
        public Object getDriverPath() {
            return driverPath;
        }

        public void setDriverPath(Object driverPath) {
            this.driverPath = driverPath;
        }

        /**
         * 获取size
         *
         * @return size
         */
        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        /**
         * 获取driverPackage
         *
         * @return driverPackage
         */
        public String getDriverPackage() {
            return driverPackage;
        }

        public void setDriverPackage(String driverPackage) {
            this.driverPackage = driverPackage;
        }

        /**
         * 获取downloadPath
         *
         * @return downloadPath
         */
        public String getDownloadPath() {
            return downloadPath;
        }

        public void setDownloadPath(String downloadPath) {
            this.downloadPath = downloadPath;
        }

        /**
         * 获取downloadAmount
         *
         * @return downloadAmount
         */
        public Object getDownloadAmount() {
            return downloadAmount;
        }

        public void setDownloadAmount(Object downloadAmount) {
            this.downloadAmount = downloadAmount;
        }

        /**
         * 获取uploadOperId
         *
         * @return uploadOperId
         */
        public Object getUploadOperId() {
            return uploadOperId;
        }

        public void setUploadOperId(Object uploadOperId) {
            this.uploadOperId = uploadOperId;
        }

        /**
         * 获取uploadOperName
         *
         * @return uploadOperName
         */
        public String getUploadOperName() {
            return uploadOperName;
        }

        public void setUploadOperName(String uploadOperName) {
            this.uploadOperName = uploadOperName;
        }

        /**
         * 获取uploadTime
         *
         * @return uploadTime
         */
        public long getUploadTime() {
            return uploadTime;
        }

        public void setUploadTime(long uploadTime) {
            this.uploadTime = uploadTime;
        }

        /**
         * 获取publishTime
         *
         * @return publishTime
         */
        public long getPublishTime() {
            return publishTime;
        }

        public void setPublishTime(long publishTime) {
            this.publishTime = publishTime;
        }

        /**
         * 获取status
         *
         * @return status
         */
        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        /**
         * 获取uploadTimes
         *
         * @return uploadTimes
         */
        public Object getUploadTimes() {
            return uploadTimes;
        }

        public void setUploadTimes(Object uploadTimes) {
            this.uploadTimes = uploadTimes;
        }

        /**
         * 获取publishTimes
         *
         * @return publishTimes
         */
        public Object getPublishTimes() {
            return publishTimes;
        }

        public void setPublishTimes(Object publishTimes) {
            this.publishTimes = publishTimes;
        }

        /**
         * 获取exampleView
         *
         * @return exampleView
         */
        public Object getExampleView() {
            return exampleView;
        }

        public void setExampleView(Object exampleView) {
            this.exampleView = exampleView;
        }
    }

    /**
     * 获取code
     *
     * @return code
     */
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 获取msg
     *
     * @return msg
     */
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * 获取timestamp
     *
     * @return timestamp
     */
    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    /**
     * 获取data
     *
     * @return data
     */
    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }
}
